package com.heima.pet_shop;

public class Cat extends Pet{
    public Cat() {
    }

    public Cat(String name, int age) {
        super(name, age);
    }

    @Override
    public void paly() {
        System.out.println("小猫" + getName() + "在玩耍");
    }
}
